package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 后台管理员账号
 * @author Rongjie
 */
@Data
@TableName("mall_admin_binding")
@KeySequence(value = "mall_admin_binding_SEQ")
@ApiModel(value = "MallAdminBinding对象")
public class MallAdminBinding implements Serializable{

       @ApiModelProperty(value = "归属管理员的uuid")
       private String appKey;

       @TableId(value = "admin_key", type = IdType.UUID)
       @ApiModelProperty(value = "iq")
       private String adminKey;

       @ApiModelProperty(value = "绑定的供应商KEY")
       private String supplierKey;

       @ApiModelProperty(value = "绑定的分销商KEY")
       private String customerKey;

       @ApiModelProperty(value = "绑定渠道KEY")
       private String promoterKey;

       @ApiModelProperty(value = "绑定淘宝的PID")
       private String taobaoPid;

       @ApiModelProperty(value = "创建时间", example = "1")
       private Integer createTime;

       @ApiModelProperty(value = "修改时间", example = "1")
       private Integer updateTime;

       @ApiModelProperty(value = "版本", example = "1")
       @Version
       private Integer version;

}
